<template>
  <Friends />
  <Chat />
</template>

<script setup lang="ts">
import { onMounted, ref } from 'vue'
import Friends from './components/Friends.vue'
import Chat from './components/Chat.vue'
import useChatStore from '@/stores/chat'

const chatStore = useChatStore()

onMounted(() => {
  chatStore.initSocket()
})

</script>

<style scoped lang="scss">
</style>

